import request from './request';

// 转为客户
export function cemCustomerInfoToClient(data) {
  return request({
    url: '/cemCustomerInfo/toClient',
    method: 'get',
	params:data
  });
}

// 放入公海
export function cemCustomerInfoToSea(data) {
  return request({
    url: '/cemCustomerInfo/toSea',
    method: 'get',
	params:data
  });
}

// 查找顾客沟通记录
export function cemCustomerInfoGetCommunicate(data) {
  return request({
    url: '/cemCustomerInfo/getCommunicate',
    method: 'get',
	params:data
  });
}

//添加沟通记录
export function cemCustomerInfoInsetCommunicate(data) {
  return request({
    url: '/cemCustomerInfo/insetCommunicate',
    method: 'post',
	data
  });
}

//编辑信息
export function cemCustomerInfoInsertOrUpdateCustomer(data) {
  return request({
    url: '/cemCustomerInfo/insertOrUpdateCustomer',
    method: 'post',
	data
  });
}

//设置提醒时间
export function cemCustomerInfoInsertRemind(data) {
  return request({
    url: '/cemCustomerInfo/insertRemind',
    method: 'post',
	data
  });
}
